print(abs(-5))  # 绝对值
print(chr(65))  # ASCII码转换
print(ord('A'))

print("---------------------------------------------------------------------")
# 元组遍历
tuple7 = ("HI", "HELLO", 1, 2, 3, True, "HI")
for i in tuple7:
    print(i)
for i, j in enumerate(tuple7):
    print(i, j)
for i in range(len(tuple7)):
    print(i, tuple7[i])

pow(3, 5)  # 3的5次幂
reversed_result = tuple7[::-1]
print(reversed_result)
print(tuple(reversed(tuple7)))
